package org.item.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.item.common.bean.SysPermission;

import java.util.List;

/**
 * 权限操作
 */
public interface IPermissionService {
    public SysPermission insert(SysPermission permission);
    public SysPermission update(SysPermission permission);

    public int delete(Integer id);

    public SysPermission getById(Integer id);

    IPage<SysPermission> getListPage(IPage page, SysPermission permission);

    List<SysPermission> getList(SysPermission permission);
}
